<%@page import="board.BoardVo"%>
<%@page import="board.Board"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>rep_register_result.jsp</title>
<script type="text/javascript">
function btList(){
	location.href="index2.jsp?inc_content=./board/list.jsp";
	
}
</script>
</head>
<body>
<jsp:useBean id="boardVo" class="board.BoardVo"/>
<%
boardVo.setRequest(request);
Board board= new Board();
board.setVo(boardVo);
%>
<div id='board_body'>
</div>
<h1>답글등록 결과창</h1>
<% 
	if(board.repInsert()){
		out.print("답글이 입력 되었습니다.");

	}else{
		out.print("답글입력 시 오류 발생");
	}
	%>
	<input type='button' value='목록' onclick='btList()'>
	</div>

</body>
</html>